package ooday02;

public class Chicks extends Animals{

    Chicks(String name,int age,String color){
        super(name,age,color);
    }
    void layEggs(){
        System.out.println(age+"岁的，"+color+"色的坤坤"+name+"在下蛋");
    }
    void eat(){
        System.out.println(age+"岁的，"+color+"色的坤坤"+name+"在吃米");
    }
}
